// style


.app-pyq-msg {
    font-size: 12px;
    &__content {
        padding-left: 10px;
    }
    &__avatar {
        size: 28px;
        display: block;
        @extend .app-border-radius;
    }
    &__link {
        padding: 5px;
        background-color: #D8D8D8;
        > .u-list-item:first-child {
            width: 40px
        }
        .app-pyq-msg__main {
            height: 40px;
            overflow: hidden;
            margin-top: -3px;
            word-wrap: break-word;
            word-break: break-all;            
            &.multi-line-overflow {
                position: relative;
                &:after {
                    content: "...";
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    background-color: #D8D8D8;
                    z-index: 1;
                    width: 1em;            
                }
            }            
        }
    }
    &__title {
        @extend .app-font-size-sm;
        @extend .app-c-gray;
        padding-bottom: 3px;
    }
    &__content {
        @extend .app-c-gray-light;
    }
    &__body {
        white-space: normal;
    }
    &__main {
        line-height: 20px;
        font-size: 14px;
        white-space: normal;
    }
    &__firends {
        margin-left: -10px;
        margin-bottom: -5px;
        overflow: hidden;
        .u-list-item {
            margin-left: 10px;
            margin-bottom: 5px;
        }
    }
    &__after {
        position: relative;
        background-color: #ffffff;
        $size: 7px;
        &:before {
            position: absolute;
            left: $size * 2;
            top: -($size - 1);
            content: "";
            width: 0;
            height: 0;
            border: 0 solid transparent;
            border-right-width: $size;
            border-left-width: $size;
            border-bottom: $size solid #f0f0f0;
        }
    }
    &__location {
        color: #55728A;
    }
    &__comment {
        word-break: break-all;
        white-space: normal;
        > .u-list-item , > .u-list-item > * {
            line-height: 16px;
        }
        > .u-list-item:first-child {
            max-width: 10em;
        }
        > .u-list-item:first-child + .u-list-item {
            width: 1em;
            text-align: center;
        }
        > .u-list-item:first-child + .u-list-item + .u-list-item {
            //width: 100%;
        }
        &:first-child {
            margin-top: 0;
        }
    }
}

.app-pyq-gallery {
    &.auc-grid {
        width: 100%;
    }
    margin-bottom: -10px;

    .auc-grid__inner {
        display: inline-block;
        margin-left: -10px;
    }

    &__avatar {
        size: 100%;
        display: block;
    }

    .auc-item {
        width: 100px;
        height: 100px;
        margin-left: 10px;
        margin-bottom: 10px;
        background-color: #eee;
    }
}
